export default class UIGoods {
  constructor(g) {
    this.data = g;
    this.choose = 0
  }

  get totalPrice() {
    return this.data.price * this.choose;
  }

  get isChoose() {
    return this.choose > 0;
  }
}